<?php

class Member extends Module{

	public function __construct(){
		$this->author = "Tomáš Voslař";
		$this->name = "Member";
		$this->presenter = "Member";
		$this->version = "1.0";
		$this->params = "akce;ident";
	}

	public function getSql(){
			
		dibi::query("CREATE TABLE IF NOT EXISTS `srcms_member` (
  				`id_member` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  				`jmeno` varchar(255) NOT NULL,
  				`nick` varchar(255) NOT NULL,
  				`password` varchar(100) NOT NULL,
  				`bydliste` varchar(255) NOT NULL,
  				`informace` text NOT NULL,
  				`vaha` mediumint(8) NOT NULL,
  				`vyska` mediumint(8) NOT NULL,
  				`icq` varchar(255) NOT NULL,
  				`email` varchar(255) NOT NULL,
  				`id_file` int(10) NULL,
  				`clen` tinyint(1) NOT NULL,
  				PRIMARY KEY (`id_member`)
				) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=0;
				");
			
	}

}

?>
